package pencil.to;

public class rostingMachineTO {
	private int no;
	private int pressingItem;//압출 머신에서 나온 흑심의 개수
	private String startTime;//시작시간
	private String endTime;//끝 시간
	private int normal; //정상품
	private int abnormal;//비정상
	private String state;//기계의 상태
	private int temperature;//온도
	private int machineLife;//기계의 수명
	
	public rostingMachineTO(){}

	public rostingMachineTO(int no, int pressingItem, String startTime,
			String endTime, int normal, int abnormal, String state,
			int temperature, int machineLife) {
		super();
		this.no = no;
		this.pressingItem = pressingItem;
		this.startTime = startTime;
		this.endTime = endTime;
		this.normal = normal;
		this.abnormal = abnormal;
		this.state = state;
		this.temperature = temperature;
		this.machineLife = machineLife;
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public int getPressingItem() {
		return pressingItem;
	}

	public void setPressingItem(int pressingItem) {
		this.pressingItem = pressingItem;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public int getNormal() {
		return normal;
	}

	public void setNormal(int normal) {
		this.normal = normal;
	}

	public int getAbnormal() {
		return abnormal;
	}

	public void setAbnormal(int abnormal) {
		this.abnormal = abnormal;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public int getTemperature() {
		return temperature;
	}

	public void setTemperature(int temperature) {
		this.temperature = temperature;
	}

	public int getMachineLife() {
		return machineLife;
	}

	public void setMachineLife(int machineLife) {
		this.machineLife = machineLife;
	}

	@Override
	public String toString() {
		return "rostingMachineTO [no=" + no + ", pressingItem=" + pressingItem
				+ ", startTime=" + startTime + ", endTime=" + endTime
				+ ", normal=" + normal + ", abnormal=" + abnormal + ", state="
				+ state + ", temperature=" + temperature + ", machineLife="
				+ machineLife + "]";
	}

	
	
}
